home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PCGUIA 127
/
PC Guia 127.iso
/
Software
/
Utils
/
NEW - Stylish
/
Bin
/
stylish-0.2.1-fx+fl+tb.xpi
/
chrome
/
stylish.jar
/
content
/
stylish-edit.xul
< prev
next >
Wrap
Extensible Markup Language
|
2005-12-20
|
2KB
|
62 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://stylish/skin/" type="text/css"?>
<!--
This code is licensed under the GPL (http://www.gnu.org/copyleft/gpl.txt)
Author: Jason Barnabe <jason_barnabe@fastmail.fm>
Release date: Oct 9, 2005
-->
<!DOCTYPE dialog [
<!ENTITY % stylish SYSTEM "chrome://stylish/locale/stylish.dtd">
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%stylish;
%brandDTD;
]>
<dialog
id="stylish-edit-window"
title="&stylish.editwindow.title;"
orient="vertical"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
buttons="accept,cancel"
persist="screenX screenY width height"
onload="stylish.editInit()"
ondialogaccept="return stylish.editOK()"
buttonlabelaccept="&stylish.save;">
<script type="application/javascript" src="rdfds.js"/>
<script type="application/javascript" src="stylishCommon.js"/>
<script type="application/javascript" src="stylish.js"/>
<stringbundle id="strings" src="chrome://stylish/locale/stylish.properties"/>
<grid flex="1">
<columns>
<column/>
<column flex="1"/>
</columns>
<rows>
<row>
<label control="description" value="&stylish.description;"/>
<textbox id="description" flex="1"/>
</row>
<row>
<label value="&stylish.enabled;"/>
<checkbox id="enabled" checked="true"/>
</row>
<row flex="1">
<vbox>
<label control="code" value="&stylish.code;"/>
<button label="&stylish.xulns;" tabindex="-1" oncommand="stylish.insertCodeAtStart(stylish.CSSXULNS);"/>
<button label="&stylish.htmlns;" tabindex="-1" oncommand="stylish.insertCodeAtStart(stylish.CSSHTMLNS);"/>
<button label="&stylish.sites;" tabindex="-1" oncommand="stylish.openSitesDialog()"/>
</vbox>
<textbox id="code" multiline="true" flex="1"/>
</row>
</rows>
</grid>
</dialog>